//
//  UIImageView+YYangWebImageManager.h
//  YYangWebImageManagerProject
//
//  Created by 蓓蕾 on 2021/11/29.
//

#import <UIKit/UIKit.h>

#import "YYangWebImageManager.h"

NS_ASSUME_NONNULL_BEGIN

@interface UIImageView (YYangWebImageManager)

- (void)yyang_setImageWithURLString:(NSString *)urlString;

- (void)yyang_setImageWithURLString:(NSString *)urlString placeholderImage:(nullable UIImage *)placeholder;

-(void)yyang_setImageWithURLString:(NSString *)urlString completed:(nullable YYImageViewCompletionBlock)completedBlock;

-(void)yyang_setImageWithURLString:(NSString *)urlString placeholderImage:(nullable UIImage *)placeholder completed:(nullable YYImageViewCompletionBlock)completedBlock;

- (void)yyang_setImageWithURLString:(NSString *)urlString placeholderImage:(nullable UIImage *)placeholder options:(YYImageViewOptions)options completed:(nullable YYImageViewCompletionBlock)completedBlock;

- (void)yyang_setImageWithURLString:(NSString *)urlString placeholderImage:(nullable UIImage *)placeholder options:(YYImageViewOptions)options progress:(nullable YYImageViewDownloaderProgressBlock)progressBlock completed:(nullable YYImageViewCompletionBlock)completedBlock;





- (void)yyang_setImageWithURL:(NSURL *)url;

- (void)yyang_setImageWithURL:(NSURL *)url placeholderImage:(nullable UIImage *)placeholder;

-(void)yyang_setImageWithURL:(NSURL *)url completed:(nullable YYImageViewCompletionBlock)completedBlock;

-(void)yyang_setImageWithURL:(NSURL *)url placeholderImage:(nullable UIImage *)placeholder completed:(nullable YYImageViewCompletionBlock)completedBlock;

- (void)yyang_setImageWithURL:(NSURL *)url placeholderImage:(nullable UIImage *)placeholder options:(YYImageViewOptions)options completed:(nullable YYImageViewCompletionBlock)completedBlock;

- (void)yyang_setImageWithURL:(NSURL *)url placeholderImage:(nullable UIImage *)placeholder options:(YYImageViewOptions)options progress:(nullable YYImageViewDownloaderProgressBlock)progressBlock completed:(nullable YYImageViewCompletionBlock)completedBlock;

@end

NS_ASSUME_NONNULL_END
